package com.soft.mapping;

import java.util.HashSet;
import java.util.Set;

/**
 * AdminMenu entity. @author MyEclipse Persistence Tools
 */

public class AdminMenu implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer menuid;
	private AdminMenu adminMenu;
	private String name;
	private String url;
	private Short sort;
	private Short delflag;
	private Set adminMenus = new HashSet(0);

	// Constructors

	/** default constructor */
	public AdminMenu() {
	}

	/** full constructor */
	public AdminMenu(AdminMenu adminMenu, String name, String url, Short sort, Short delflag,
			Set adminMenus) {
		this.adminMenu = adminMenu;
		this.name = name;
		this.url = url;
		this.sort = sort;
		this.delflag = delflag;
		this.adminMenus = adminMenus;
	}

	// Property accessors

	public Integer getMenuid() {
		return this.menuid;
	}

	public void setMenuid(Integer menuid) {
		this.menuid = menuid;
	}

	public AdminMenu getAdminMenu() {
		return this.adminMenu;
	}

	public void setAdminMenu(AdminMenu adminMenu) {
		this.adminMenu = adminMenu;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return this.url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Short getSort() {
		return this.sort;
	}

	public void setSort(Short sort) {
		this.sort = sort;
	}

	public Short getDelflag() {
		return this.delflag;
	}

	public void setDelflag(Short delflag) {
		this.delflag = delflag;
	}

	public Set getAdminMenus() {
		return this.adminMenus;
	}

	public void setAdminMenus(Set adminMenus) {
		this.adminMenus = adminMenus;
	}

}